// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.

namespace Masa.BuildingBlocks.Authentication.OpenIdConnect.Domain.Entities;

public class ClientSecret : Secret
{
    public Guid ClientId { get; private set; }

    public Client Client { get; private set; } = null!;

    public ClientSecret(string description, string value, DateTime? expiration, string type)
    {
        Description = description;
        Value = value;
        Expiration = expiration;
        Type = type;
    }
}
